<?php
use common\utils\SysCode;

return [
    SysCode::OK                           => '',
    SysCode::INVALID_ARGUMENT             => '非法参数',
    SysCode::FAILED                       => '操作失败',
    SysCode::IP_ACCESS_DENY               => '禁止访问',
    SysCode::INVALID_CODE                 => '验证码有误',
    SysCode::BAD_REQUEST                  => '错误请求',
    SysCode::UNAUTHORIZED                 => '认证失败',
	SysCode::FORBIDDEN                    => '无权访问',
    SysCode::NOT_FOUND                    => '404 not found',
    SysCode::INTERNAL_SERVER_ERROR        => '服务器错误',

    SysCode::USER_AUTH_NOT_MATCH          => '登陆用户名或密码错误',
    SysCode::USER_EXIST                   => '用户:username 已存在',
    SysCode::USER_NOT_FOUND               => '用户不存在',
    SysCode::USER_TOKEN_EXPIRE            => 'Token已过期',
    SysCode::USER_KICKED                  => '账号在其他地方被登录',
    SysCode::USER_BANK_EXIST              => '银行卡:card 已存在',
    SysCode::USER_NOT_LOGIN               => '用户未登录',
    SysCode::USER_STATE_ERROR             => '账号已停用或正在审核,如有疑问请联系客服!',
    SysCode::USER_PASSWORD_ERROR          => '登陆密码错误',
    SysCode::USER_GOOGLE_LOGIN_FAILED_TIMES => '谷歌身份验证失败超过5次，30秒后再尝试',
    SysCode::USER_GOOGLE_CODE_INVALID     => '谷歌身份验证码错误',
    SysCode::USER_SAVE_GOOGLE_CODE_FAILED => '绑定谷歌身份验证失败',
    SysCode::USER_EMAIL_EXIST             => '该邮箱已存在！',
    SysCode::USER_EMAIL_CODE_ERROR        => '邮箱验证码错误',
    SysCode::USER_WITHDRAW_PASSWORD_ERROR => '取款密码错误',
    SysCode::USER_EMAIL_NOT_REGISTER          => '此邮箱未注册',
    SysCode::USER_MOBILE_EXIST            => '该手机已存在！',

    SysCode::MESSAGE_MISS_PARAMS          => '修改消息参数缺失',
    SysCode::MESSAGE_CHANGE_STATUS        => '修改消息状态失败',
    SysCode::BANK_EXCHANGE_MISS_PARAMS        => '额度转化参数缺失',
    SysCode::BANK_EXCHANGE_AMOUNT_ERROR        => '转账金额必须大于0元,当前输入金额:amount元',
    SysCode::BANK_EXCHANGE_NOT_OPEN        => '额度转化功能暂时未开放',
    SysCode::BANK_EXCHANGE_MISS_WALLET        => '额度转化::type,:name不存在,传入参数值为:data',
    SysCode::BANK_EXCHANGE_BALANCE_UNOUGH     => '额度转化::type,余额不足,当前余额:balance,额度转化金额:amount',
    SysCode::BANK_EXCHANGE_GETBALANCE_ERROR     => '额度转化同步余额失败',
    SysCode::BANK_EXCHANGE_WALLET_NOT_EXIT     => '额度转化子钱包不存在',
    SysCode::BANK_EXCHANGE_GETBALANCE_MONEY_ERROR     => '第三方API调用失败',
    SysCode::BANK_WITHDRAW_PRAMARY_MOENY_MISS     => '主钱包缺失',
    SysCode::BANK_WITHDRAW_ORDER_EXIST     => '已经有申请的订单,不可在申请,已申请订单号::order_number',
    SysCode::BANK_EXCHANGE_PARTNER_ERROR => '该API已冻结',
    SysCode::BANK_EXCHANGE_SQL_ERROR => '写入转账日志失败',

    SysCode::ACTIVE_STATUS_ERROR     => '优惠活动已结束',

    SysCode::DEMO_USERNAME_EXIST     => '该账户已存在，请重新获取！',
    SysCode::DEMO_USERNAME_PASSWORD_ERROR => '密码应该为6-16位数字和字母组合',

    SysCode::BANK_EXCHANGE_THIRD_MONEY_ERROR     => '第三方同步余额不足',
    SysCode::BANK_EXCHANGE_NOT_FIND_EMAIL_MOBILE     => '请绑定手机号码或邮箱',
    SysCode::BANK_EXCHANGE_MONEY_MIN     => '出款金额不能少于::min',
    SysCode::BANK_EXCHANGE_MONEY_MAX     => '出款金额不能大于::max',
    SysCode::BANK_EXCHANGE_MONEY_DAY_LIMIT     => '每次出款次数不能大于::time次',
    SysCode::BANK_EXCHANGE_HALL_ERROR     => '额度转化对应该厅不存在或已冻结',
    SysCode::BANK_EXCHANGE_TRANSFORM_LOG     => '额度转化交易记录写入失败',
    SysCode::BANK_EXCHANGE_LOCK => '同一用户同一时间只能向同一个API转帐一笔',
    SysCode::BANK_EXCHANGE_MONEY_FREEZE => '冻结金额失败，请稍后尝试',
    SysCode::BANK_EXCHANGE_MONEY_UNFREEZE => '解冻金额失败，请联系客服人员处理',
    SysCode::BANK_EXCHANGE_MONEY_FAILED => '转账失败',
    SysCode::BANK_EXCHANGE_MONEY_ABORT => '转账网络中断，请稍后刷新余额查看',
    SysCode::BANK_EXCHANGE_HANDLE_STATUS_SHOULD_NOT_SUCC => '不能处理已成功转账单',
    SysCode::BANK_EXCHANGE_HANDLE_ORDER_NOT_FOUND => '转账订单不存在',

    /**
     * 第三方相关
     */
    SysCode::API_ERROR                    => 'API 错误',
    SysCode::API_ERROR_CONFIG             => 'API 配置错误',
    SysCode::API_ERROR_METHOD_UNCOMPLETE  => '方法未实现',
    SysCode::API_ERROR_TRANSFER_FAILED    => '未找到对应的转账订单 或 该转账失败',
    SysCode::GAME_THIRD_GAME_ACCOUNT_ERROR => '第三方api创建账号失败',
    SysCode::GAME_THIRD_MONEY_PARTNER_ERROR => '创建子钱包失败',
    SysCode::GAME_THIRD_MONEY_PARTNER_USER_ERROR => '创建第三方账号失败',

    //运营中心-转账记录
    SysCode::TRANSFER_SEARCH_INVALID_MAIN_TYPE       => '转出转入不能同时为主钱包',
    SysCode::TRANSFER_SEARCH_INVALID_PATNER_TYPE       => '转出转入不能同时为子钱包',
    SysCode::TRANSFER_INVALID_PARAMS       => '非法参数',
    SysCode::TRANSFER_ORDER_NOT_FOUND       => '转账订单不存在',
    SysCode::TRANSFER_SUPPLEMENT_FAIL       => '补单检测失败',

];
